package com.menhai.personmanagement.plus;

import com.menhai.personmanagement.enums.PageEnum;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class PageRequest {


    @Builder.Default
    private Integer pageIndex = PageEnum.PAGE_INDEX.getValue();

    @Builder.Default
    private Integer pageSize = PageEnum.PAGE_SIZE.getValue();

}
